package com.fire.control.system.module.excel.service;

import java.io.InputStream;
import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.fire.control.system.support.protocol.device.DeviceRequestProtocol;


/**
 * 
 * @ClassName:  ExcelService
 * @Description:  导入导出excel接口
 * @author:  xiechengguang
 * @date:  2017年6月24日 下午6:33:25
 *
 */
public interface ExcelService {
	
	/**
	 * @author: xiechengguang 
	 * @Title: export   
	 * @Description: 导出excel  
	 * @param:        
	 * @return: void      
	 * @throws
	 */
	public void export(HttpServletRequest request, HttpServletResponse response, DeviceRequestProtocol reqProtocol);
	
	public List<Object> importDataFromExcel(Object obj, InputStream inp, String fileName);
}
